package cn.buddha.jesj.map;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;

/**
 * @author shihao
 * @description map集合测试
 */
public class MapTest {

    public static void main(String[] args) {
        Map<String, String> hashMap = new HashMap<>(16);
        hashMap.put("A", "10");
        hashMap.put("B", "11");
        hashMap.put("C", "12");
        hashMap.put("D", "13");
        hashMap.put("E", "14");

        Map<String, String> linkedHashMap = new LinkedHashMap<>();
        linkedHashMap.put("1", "a");
        linkedHashMap.put("2", "b");
        linkedHashMap.put("3", "c");
        linkedHashMap.put("4", "d");
        linkedHashMap.put("5", "e");
    }

}
